October 22, 2024
v3 Get encrypted files
Description:
Returns a list of encrypted files in the account.
URI:
https://api.multitel.net/v3/get_encrypt_files
Methods:
GET
Sample Output:
{
"status": {
"code": 200,
"msg": ""
},
"response": [
{
"id": "1c311584-6899-4753-bed3-eabe3e256f9d",
"proof_type": "263bc045cb6f9f30b14e3097369afd70",
"entity_type": "Address",
"description": "Passport",
"file_name": "728376659.png",
"date": "2023-10-18 16:28:14"
},
{
"id": "062303ef-f5c7-44b3-af35-30e0c0439005",
"proof_type": "263bc045cb6f9f30b14e3097369afd70",
"entity_type": "Address",
"description": "Passport",
"file_name": "1728316235.png",
"date": "2023-10-18 16:28:15"
},
]
}
Sample Code:
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api.multitel.net/v3/get_encrypted_files',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Accept: application/json',
'Authorization: Basic YWRtaW46Vnc0OXBYNk',
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;